<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>chengfabiao</title>
</head>
<script type="text/javascript">
	document.write("<table border=1>")
	for (var i =9; i >= 1; i--) {
			document.write("<tr>")
		for (var x = 1; x <= i; x++) {
				if (x%2!=0) {document.write("<td style='background:red'>"+x+"x"+i+"="+i*x+"</td>");}
				else{if (i%2==0) {document.write("<td style='background:blue'>"+x+"x"+i+"="+i*x+"</td>");}
				else{document.write("<td style='background:#6e6e6e'>"+x+"x"+i+"="+i*x+"</td>");}




				;}
					




		};
	};
		document.write("</tr>")


	document.write("</table>")
</script>
<body>
	
</body>
</html>